<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>毛玻璃多卡片悬停效果</title>
  <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css'>
  <link rel="stylesheet" href="style.css">
</head>

<body>
  <div class="container">
    <div class="glass" style="--i: -15" data-text="Design">
      <i class="fa-solid fa-pen"></i>
    </div>
    <div class="glass" style="--i: 5" data-text="Code">
      <i class="fa-solid fa-code"></i>
    </div>
    <div class="glass" style="--i: 25" data-text="Launch">
      <i class="fa-solid fa-rocket"></i>
    </div>
    <div class="glass" style="--i: -15" data-text="Earn">
      <i class="fa-solid fa-money-check-dollar"></i>
    </div>
  </div>
</body>

</html>